@echo off

REM ------------------------------------------------------------------------------
REM Change the following if necessary to point to correct VS location
REM ------------------------------------------------------------------------------

call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"

rem set QTDIR=c:\home\qt-everywhere-opensource-src-4.7.4\
set PATH= %QTDIR%\bin;%PATH%;

set BOOST_ROOT=c:\Boost\boost_1_48_0\
set BOOST_INCLUDE=%BOOST_ROOT%\
set BOOST_VERSION=1_48_0
set BOOST_LIB=c:\Boost\lib
set BOOST_LIBS=""

set curpath=%~dp0

set EXTERNALS_ROOT=%curpath%..\externals\
set EXTERNALS_BIN=%EXTERNALS_ROOT%bin\
set EXTERNALS_LIB=%EXTERNALS_ROOT%lib\
set EXTERNALS_INCLUDE=%EXTERNALS_ROOT%include

set OPL_ROOT=%curpath%..\client\opl\
set OPL_INCLUDE=%OPL_ROOT%
set OPL_LIB=%OPL_ROOT%lib

if exist n:\bin\path.bat call n:\bin\path.bat

rem set QML_IMPORT_PATH=%QML_IMPORT_PATH%;c:\home\src\optra\client\engine\extensions\

echo Script directory=%curpath%
echo Externals=%EXTERNALS_ROOT%
echo Externals bin=%EXTERNALS_BIN%
echo Externals lib=%EXTERNALS_LIB%
echo Externals include=%EXTERNALS_INCLUDE%



echo Opl=%OPL_ROOT%
echo Opl include=%OPL_INCLUDE%
echo Opl lib=%OPL_LIB%

call %OPL_ROOT%opl.bat